cmake_minimum_required(VERSION 3.16)
project(opengl)

include_directories(include include/glm) #添加头文件
link_directories(lib) #添加库

set(CMAKE_CXX_STANDARD 14)

add_executable(opengl main.cpp)

target_link_libraries(opengl glfw3 opengl32)

ADD_SUBDIRECTORY(include/glm)